def inbound_1():
  """I1. Inbound call  to DN3, release DN3 """
  Ext1SipPhone1.MakeCall(DN3)
  SipPhone3.AnswerCall()
  SipPhone3.ReleaseCall()

def inbound_2():
  """I2. Inbound call  to DN3, release Ext1 DN """
  Ext1SipPhone1.MakeCall(DN3)
  SipPhone3.AnswerCall()
  Ext1SipPhone1.ReleaseCall()

def inbound_3():
  """I3.  Inbound call  to DN3, abnormal release Ext1Dn """
  Ext1SipPhone1.MakeCall(DN3)
  Ext1SipPhone1.ReleaseCall()

def inbound_4():
  """I17.  Inbound call to DN2,DN2 two step transfer to DN3,rel DN3 """
  Ext1SipPhone1.MakeCall(DN2)
  SipPhone2.AnswerCall()
  SipPhone2.InitiateTransfer(DN3)
  SipPhone3.AnswerCall()
  SipPhone2.CompleteTransfer()
  SipPhone3.ReleaseCall()

def inbound_5():
  """I18.  Inbound call to DN2,DN2 init  trans to DN3, abn rel Ext1DN1 """
  Ext1SipPhone1.MakeCall(DN2)
  SipPhone2.AnswerCall()
  SipPhone2.InitiateTransfer(DN3)
  SipPhone2.ReleaseCall()
  Ext1SipPhone1.ReleaseCall()

def inbound_6():
  """I19.  Inbound call to DN2,DN2 tinit DN3, rel Ext1DN1 """
  Ext1SipPhone1.MakeCall(DN2)
  SipPhone2.AnswerCall()
  SipPhone2.InitiateTransfer(DN3)
  Ext1SipPhone1.ReleaseCall()


def inbound_7():
  """I20.  Inbound call to DN2,DN2 blind two step transfer to DN3, """
  Ext1SipPhone1.MakeCall(DN2)
  SipPhone2.AnswerCall()
  SipPhone2.InitiateTransfer(DN3)
  SipPhone2.CompleteTransfer()
  SipPhone3.AnswerCall()
  SipPhone3.ReleaseCall()

def inbound_8():
  """I38.  Inbound call to DN2,DN2 conference to DN3,release DN3,DN2 """
  Ext1SipPhone1.MakeCall(DN2)
  SipPhone2.AnswerCall()
  SipPhone2.InitiateConference(DN3)
  SipPhone3.AnswerCall()
  SipPhone2.CompleteConference()
  SipPhone3.ReleaseCall()
  SipPhone2.ReleaseCall()

def inbound_9():
  """I39.  Inbound call to DN2,DN2 conference to DN3, rel Ext1Dn, DN2 """
  Ext1SipPhone1.MakeCall(DN2)
  SipPhone2.AnswerCall()
  SipPhone2.InitiateConference(DN3)
  SipPhone3.AnswerCall()
  SipPhone2.CompleteConference()
  Ext1SipPhone1.ReleaseCall()
  SipPhone2.ReleaseCall()

def inbound_10():
  """I40.  Inbound call to DN2,DN2 cinit to DN3,abnormal rel DN2, rel Ext1DN1 """
  Ext1SipPhone1.MakeCall(DN2)
  SipPhone2.AnswerCall()
  SipPhone2.InitiateConference(DN3)
  SipPhone2.ReleaseCall()
  Ext1SipPhone1.ReleaseCall()

def inbound_11():
  """I50.  Inbound call to DN2,DN2 mute transfer to DN3,release DN3 """
  Ext1SipPhone1.MakeCall(DN2)
  SipPhone2.AnswerCall()
  SipPhone2.MuteTransfer(DN3)
  SipPhone3.AnswerCall()
  SipPhone3.ReleaseCall()

